using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsDailyreportdetailTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Dailyreportdetail"; 

		public const string C_DAILYREPORTDETAILID = "DAILYREPORTDETAILID";
		public const string C_DAILYREPORTID = "DAILYREPORTID";
		public const string C_WORKORDERNO = "WORKORDERNO";
		public const string C_SCHEDULEID = "SCHEDULEID";
		public const string C_PROCESSID = "PROCESSID";
		public const string C_MACHINEID = "MACHINEID";
		public const string C_STARTTIME = "STARTTIME";
		public const string C_ENDTIME = "ENDTIME";
		public const string C_HOURS = "HOURS";
		public const string C_STANDARDPEOPLENUM = "STANDARDPEOPLENUM";
		public const string C_ACTULPEOPLENUM = "ACTULPEOPLENUM";
		public const string C_DAYPLANNUM = "DAYPLANNUM";
		public const string C_DAYCOMPLETENUM = "DAYCOMPLETENUM";
		public const string C_PRODUCTNUM = "PRODUCTNUM";
		public const string C_STANDARDPROCESSTIME = "STANDARDPROCESSTIME";
		public const string C_ACTULPROCESSTIME = "ACTULPROCESSTIME";
		public const string C_PROCESSTIMERATE = "PROCESSTIMERATE";
		public const string C_PRODUCERATE = "PRODUCERATE";
		public const string C_UNQUALIFYNUM = "UNQUALIFYNUM";
		public const string C_UNQUALIFYRATE = "UNQUALIFYRATE";
				
		public BsDailyreportdetailTable()
		{
			_tableName ="Bs_Dailyreportdetail";
		}

		protected static BsDailyreportdetailTable _current;

		public static BsDailyreportdetailTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsDailyreportdetailTable();

			_current.Add(C_DAILYREPORTDETAILID, new ColumnInfo(C_DAILYREPORTDETAILID, "", true, typeof(Decimal?)));
			_current.Add(C_DAILYREPORTID, new ColumnInfo(C_DAILYREPORTID, "", false, typeof(String)));
			_current.Add(C_WORKORDERNO, new ColumnInfo(C_WORKORDERNO, "", false, typeof(String)));
			_current.Add(C_SCHEDULEID, new ColumnInfo(C_SCHEDULEID, "", false, typeof(String)));
			_current.Add(C_PROCESSID, new ColumnInfo(C_PROCESSID, "", false, typeof(String)));
			_current.Add(C_MACHINEID, new ColumnInfo(C_MACHINEID, "", false, typeof(String)));
			_current.Add(C_STARTTIME, new ColumnInfo(C_STARTTIME, "", false, typeof(String)));
			_current.Add(C_ENDTIME, new ColumnInfo(C_ENDTIME, "", false, typeof(String)));
			_current.Add(C_HOURS, new ColumnInfo(C_HOURS, "", false, typeof(Decimal?)));
			_current.Add(C_STANDARDPEOPLENUM, new ColumnInfo(C_STANDARDPEOPLENUM, "", false, typeof(Decimal?)));
			_current.Add(C_ACTULPEOPLENUM, new ColumnInfo(C_ACTULPEOPLENUM, "", false, typeof(Decimal?)));
			_current.Add(C_DAYPLANNUM, new ColumnInfo(C_DAYPLANNUM, "", false, typeof(Decimal?)));
			_current.Add(C_DAYCOMPLETENUM, new ColumnInfo(C_DAYCOMPLETENUM, "", false, typeof(Decimal?)));
			_current.Add(C_PRODUCTNUM, new ColumnInfo(C_PRODUCTNUM, "", false, typeof(Decimal?)));
			_current.Add(C_STANDARDPROCESSTIME, new ColumnInfo(C_STANDARDPROCESSTIME, "", false, typeof(Decimal?)));
			_current.Add(C_ACTULPROCESSTIME, new ColumnInfo(C_ACTULPROCESSTIME, "", false, typeof(Decimal?)));
			_current.Add(C_PROCESSTIMERATE, new ColumnInfo(C_PROCESSTIMERATE, "", false, typeof(Decimal?)));
			_current.Add(C_PRODUCERATE, new ColumnInfo(C_PRODUCERATE, "", false, typeof(Decimal?)));
			_current.Add(C_UNQUALIFYNUM, new ColumnInfo(C_UNQUALIFYNUM, "", false, typeof(Decimal?)));
			_current.Add(C_UNQUALIFYRATE, new ColumnInfo(C_UNQUALIFYRATE, "", false, typeof(Decimal?)));
						
		}

		public ColumnInfo DAILYREPORTDETAILID
		{
			get { return this[C_DAILYREPORTDETAILID];}
		}

		public ColumnInfo DAILYREPORTID
		{
			get { return this[C_DAILYREPORTID];}
		}

		public ColumnInfo WORKORDERNO
		{
			get { return this[C_WORKORDERNO];}
		}

		public ColumnInfo SCHEDULEID
		{
			get { return this[C_SCHEDULEID];}
		}

		public ColumnInfo PROCESSID
		{
			get { return this[C_PROCESSID];}
		}

		public ColumnInfo MACHINEID
		{
			get { return this[C_MACHINEID];}
		}

		public ColumnInfo STARTTIME
		{
			get { return this[C_STARTTIME];}
		}

		public ColumnInfo ENDTIME
		{
			get { return this[C_ENDTIME];}
		}

		public ColumnInfo HOURS
		{
			get { return this[C_HOURS];}
		}

		public ColumnInfo STANDARDPEOPLENUM
		{
			get { return this[C_STANDARDPEOPLENUM];}
		}

		public ColumnInfo ACTULPEOPLENUM
		{
			get { return this[C_ACTULPEOPLENUM];}
		}

		public ColumnInfo DAYPLANNUM
		{
			get { return this[C_DAYPLANNUM];}
		}

		public ColumnInfo DAYCOMPLETENUM
		{
			get { return this[C_DAYCOMPLETENUM];}
		}

		public ColumnInfo PRODUCTNUM
		{
			get { return this[C_PRODUCTNUM];}
		}

		public ColumnInfo STANDARDPROCESSTIME
		{
			get { return this[C_STANDARDPROCESSTIME];}
		}

		public ColumnInfo ACTULPROCESSTIME
		{
			get { return this[C_ACTULPROCESSTIME];}
		}

		public ColumnInfo PROCESSTIMERATE
		{
			get { return this[C_PROCESSTIMERATE];}
		}

		public ColumnInfo PRODUCERATE
		{
			get { return this[C_PRODUCERATE];}
		}

		public ColumnInfo UNQUALIFYNUM
		{
			get { return this[C_UNQUALIFYNUM];}
		}

		public ColumnInfo UNQUALIFYRATE
		{
			get { return this[C_UNQUALIFYRATE];}
		}

		
	}
}


